package cn.tedu.weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class CommentVO {
    @ApiModelProperty(value = "博客ID",required = true,example = "1")
    private Integer id;
    private String content;
    @ApiModelProperty(value = "评论内容",required = true,example = "这个文章写的有深度，你说的对!")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss",timezone ="GMT+8")
    private Date created;
    @ApiModelProperty(value = "昵称",required = true,example = "克晶")
    private String nickname;
}
